package com.xiguanlezz.cn.keepalive;

import com.xiguanlezz.cn.common.Operation;
import com.xiguanlezz.cn.common.OperationResult;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/10/16 22:54
 * @Description：
 */
public class KeepaliveOperation extends Operation {

    private long time;

    public KeepaliveOperation() {
        time = System.nanoTime();
    }

    @Override
    public OperationResult execute() {
        return new KeepaliveOperationResult(time);
    }
}
